finding max and min element

visit shbcf.ru